package com.kede.api.level.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;


/**
 * 任务与用户关联表
 * 2024-02-04 12:10:21
 *
 * @author makejava
 * @version 1.0.0
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class SyMissionUser extends Model<SyMissionUser> {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 任务发布表id
     */
    private String missionPubId;

    /**
     * 执行次数 多次任务的执行次数，单次任务为1
     */
    private Integer times;

    /**
     * [{"finish_time":"yyyy-MM-dd HH:mm:ss","times":1,"isFinish":true}]
     */
    private String logs;

    private Date created;

    private Date updated;

    private Integer isDel;

    private Integer status;

    /**
     * 任务模板id
     */
    private Integer tempId;

}

